DXL script to capture the date when the Object Text is modified from the object history

DXL script to capture the date when the Object Text is modified from the object history


VaniB - Tue Apr 16 04:51:35 EDT 2019

Re: DXL script to capture the date when the Object Text is modified from the object history
morast - Wed Apr 17 02:58:27 EDT 2019

Something like this, but remember only history since latest baseline is accessible in the current version of the module.

Object o = current
History h

for h in o do
{
  if ( h.attrName == "Object Text" ) print h.date
}

 

Re: DXL script to capture the date when the Object Text is modified from the object history
JoeMarfice - Thu Apr 18 10:48:15 EDT 2019

It's not clear to me how your request differs from the existing "Last Modified On" Attribute.

Re: DXL script to capture the date when the Object Text is modified from the object history
Mike.Scharnow - Thu Apr 18 13:18:15 EDT 2019

JoeMarfice - Thu Apr 18 10:48:15 EDT 2019

It's not clear to me how your request differs from the existing "Last Modified On" Attribute.

"Last Modified On" will change whenever any attribute is changed (ok, any attribute that is configured to influence the Last Modified On attribute.

The question was when the "Object Text" was changed.

Just a wild guess why VaniB might have such a requirement:

Often there are situations where first the "content" of the module is written and in later phases, only review attributes are changed.